package com.fly.estore.dao;

import com.fly.estore.domain.AccountInfo;

import java.util.List;

/**
 * Created by Fly on 2016/3/25.
 */
public interface AccountDAO {

    public int create(AccountInfo accountInfo);

    public int update(AccountInfo accountInfo);

    public int deleteById(final String accountId);

    public AccountInfo getById(String accountId);

    public List<AccountInfo> getList();

    public AccountInfo getByAccountNameAndPwd(String accountName, String password);

}
